
import { MongooseFactory } from "../kalend";
import { Schema } from "mongoose";

/** 平台合伙人提现记录表 */
const schema = MongooseFactory.Schema({
  
    agentid: {
        type: Schema.Types.ObjectId,
        ref: "platform_user"
    },
    bank:{
      type:String
    },
    phone:{
      type:String
    },
    bankno:{
      type:String
    },
    totalcase:{
        type: String
    },
    casestatus:{
        type: Number
    },
    auditstatus:{
      type: Number
  },
    createuser: {
        type: Schema.Types.ObjectId,
        ref: "platform_user"
    },
    modifyuser: {
        type: Schema.Types.ObjectId,
        ref: "platform_user"
    },
    modifytime: {
        type: Date
    },
});



export const platform_agentcase_recordModel = MongooseFactory.Model("platform_agentcase_record", schema);